package com.winter.mapper;

import com.winter.model.FinContentLikeInfo;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FinContentLikeInfoMapper {
    int deleteByPrimaryKey(Short id);

    int insert(FinContentLikeInfo record);

    int insertSelective(FinContentLikeInfo record);

    FinContentLikeInfo selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(FinContentLikeInfo record);

    int updateByPrimaryKey(FinContentLikeInfo record);

    List<FinContentLikeInfo> getIsLike(@Param("id") Long id, @Param("information") String information, @Param("typeFlag") String typeFlag, @Param("userNo") String userNo);

    void deleteLike(@Param("type") String type, @Param("chiType") String chiType, @Param("id") Long id, @Param("userNo") String userNo);
}